package org.tacademy.and12th.jyh.buckeybuckey;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;

public class IntroActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_intro);
		
		new Thread(new Runnable() {
			public void run() {
				try{
					Thread.sleep(2000);
				} catch (Throwable ex) {
					ex.printStackTrace();
				}
				Intent i = new Intent(IntroActivity.this, MainActivity.class);
				startActivity(i);
				finish();
			}
		}).start();
	}

}
